/**
 *project huodong
 *com.yysoft.web.base.BaseMainAction.java 
 *copyrite@ by admin@xkshow.cn
 ****************************************************************
 *         VERSION       DATE            BY       CHANGE/COMMENT
 * --------------------------------------------------------------
 *          1.0          2012-6-10     hardy         create
 ****************************************************************
 *note:
 ***************************************************************/ 
package com.yysoft.web.base;

public class BaseMainAction extends BaseAction {
	
	public String execute() {
		try {
			return this.executeMethod(this.getAction());
		} catch (Exception e) {
			logger.error(e);
			this.addActionError(this.getText("error.msg"));
			return ERROR;
		}
	}
}
